


//
//  ZYAddStrongCouseDetailOneCell.m
//  优学荟管理系统
//
//  Created by edz on 2017/11/27.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "ZYAddStrongCouseDetailOneCell.h"

@implementation ZYAddStrongCouseDetailOneCell


- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        
        [self setUpSuperViews];
    }
    
    
    return self;
    
}

- (void)setUpSuperViews{
    
    self.nameLabel = [UILabel new];
    self.nameLabel.font = [UIFont systemFontOfSize:13];
    self.nameLabel.textColor = ColorRGB(153,153,153);
    self.nameLabel.numberOfLines = 0;
    [self.contentView addSubview:self.nameLabel];
    
    self.nameLabel.text = @"上海自来水来自海上，黄山落叶松叶落山黄,上海自来水来自海上，黄山落叶松叶落山黄";
    
    [self.nameLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.offset(10);
        make.top.offset(10);
        make.right.equalTo(self).offset(-10);
    }];
    
    [self.contentView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.offset(0);
        make.bottom.mas_equalTo(self.nameLabel).offset(10);
    }];
    
    
}



@end
